package com.xiaomengkuan.comment.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.util.List;

/**
 * @author Faraj Mujey
 * -- Creation Time: 2021-01-27 1:41 下午, File Encoding: utf8 --
 */
@Data
@ToString
@ApiModel(value = "评论传输对象模型")
public class CommentResponseVo {
    @ApiModelProperty(value = "id")
    private String id;
    @ApiModelProperty(value = "商品id")
    private String productId;
    @ApiModelProperty(value = "评论内容")
    private String context;
    private String avatar;
    private String nickname;
    @ApiModelProperty(value = "发布时间")
    private String createdTime;
    @ApiModelProperty(value = "上级评论id")
    private String baseId;
    @ApiModelProperty(value = "用户id")
    private String userId;
    @ApiModelProperty(value = "回复的评论")
    private List<CommentResponseVo> replayComments;
}
